<!DOCTYPE html>
<html class="pixel-ratio-1">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <!-- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" /> -->
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../public/vendor/flexible/flexible.js"></script>
    <title>提示-权限失效</title>
    <link rel="stylesheet" type="text/css" href="../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../public/vendor/weui/weui.min.css" />
    <style>
        html,
        body {
            height: 100%;
        }

        .i--403 {
            font-size: 100px;
            color: #8f9aa4;
        }

        p {
            padding: 5px 0;
            color: #8f9aa4;
        }
    </style>
</head>

<body>
    <div style="height: 100%;">
        <div class="weui-msg">
            <div class="weui-msg__icon-area"><i class="weui-icon-info weui-icon_msg"></i></div>
            <div class="weui-msg__text-area">
                <h2 class="weui-msg__title">提示</h2>
                <p class="weui-msg__desc" style="text-align: left;">1、您的账号没有访问权限，如有需要请提报权限申请流程;</p>
                <!--<p class="weui-msg__desc" style="text-align: left;">2、您的账号认证失效，30分钟未进行任何操作则会失效;</p>-->
            </div>
            <div class="weui-msg__opr-area">
                <p class="weui-btn-area">
                <div role="button" class="weui-btn weui-btn_primary" style="margin-top:37px" id="returnMainpage">返回主页
                </div>
                </p>
            </div>
            <div class="weui-msg__tips-area">
                <p class="weui-msg__tips">工作日:8:30~17:30 &nbsp;&nbsp; 联系电话: <span id="contactPhone">--</span></p>
            </div>
            <div class="weui-msg__tips-area">
                <p class="weui-msg__tips"></p>
            </div>
            <div class="weui-msg__extra-area">
                <div class="weui-footer">
                    <p class="weui-footer__links">
                        <a href="javascript:" class="weui-footer__link">云南神农集团</a>
                        <a href="javascript:" class="weui-footer__link" id="initInfo">卓越运营中心制</a>
                    </p>
                    <p class="weui-footer__text">Copyright &copy; <span
                            id="application-date">2009-2021</span>&nbsp;&nbsp;<span
                            id="application-environment">ynsnjt.cn</span></p>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../public/js/config/utils.js"></script>
    <script type="module">
        import { getAuthZ } from '../../../public/js/config/config.js'
        $(function () {
            window.addEventListener("popstate", function (e) {
                history.back(-2);
            }, false);

            //  卓越运营中心联系电话获取
            $.ajax({
                "url": `../../../public/datas/version.json?v=${Utils.GetTime()}`,
                "type": 'GET',
                "dataType": "json",
                "success": function (result) {
                    if (result) {
                        $('#contactPhone').html(result.ContactPhone || '')
                    }
                },
                "error": function (e) {
                    console.error(e);
                }
            });

            $('#application-date').text(`2019-${new Date().getFullYear()}`);
            $('#application-environment').text('ynsnjt.cn');
            $('#returnMainpage').on('click', function () {
                let url = Utils.GetSessionStorage('url');
                let wxState = Utils.GetSessionStorage('Sid');
                let href = Utils.CompleteUrl({ wxid: getAuthZ(wxState, "id"), url: url, sid: wxState });
                location.replace(href)
            })
        })


    </script>
</body>

</html>